home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 020a / inclogo2.zip / MAKEINC2.BAT < prev    next >
DOS Batch File  |  1991-12-13  |  845b  |  29 lines

  1. @echo off
  2. echo off
  3. echo.
  4.  
  5. rem Check for no parameter
  6. if "%1" == "" goto usage
  7.  
  8. rem Make sure our input files exist
  9. if not exist inclogo2.com echo Error: INCLogo2.Com not in current directory.
  10. if not exist inclogo2.com goto end
  11. if not exist inclogo2.dat echo Error: INCLogo2.Dat not in current directory.
  12. if not exist inclogo2.dat goto end
  13.  
  14. rem Do the copy
  15. echo Adding INCLogo2.Dat customization information to INCLogo2.Com
  16. echo to produce a runable INCLogo2 loader called %1.
  17. copy /b inclogo2.com + inclogo2.dat  %1
  18. goto end
  19.  
  20. :usage
  21. echo Usage: MakeINC2 INCLogo2_Loader_Filename
  22. echo.
  23. echo MakeINC2 simply copies the INCLogo2 message file (INCLogo2.Dat) onto
  24. echo an uncustomized INCLogo2 loader (INCLogo2.Com) to produce a runable
  25. echo INCLogo2 loader (which gets named the parameter that you specify).
  26.  
  27. :end
  28. echo.
  29.